Repository navigation
Public-repo readiness: invite-only note, fail fast with no server, clearer 401 - #18
Merged
Merged
Conversation
…ast with no server, clearer 401 - README: invite-only note with the request-access link above the quickstart; a stranger can still install, read the API and run the tests. The self-host line no longer implies an open download. - With no DRUMS_URL and nothing on the loopback default, the first request fails at once and names what to set, instead of retrying for 60 s. A server named in the environment is still retried as before. - Errors say "server HTTP <status>" instead of "drumsd HTTP"; a 401 adds where to request access. The preflight auth rows carry the same hint. - SECURITY.md: 0.4.x supported, 0.3.x security fixes only. - Internal tracker ids, private-repo links and internal run names removed from README, CHANGELOG, code comments and tests. plugin.json at 0.4.0. - tests/test_onboarding.py covers the fast failure, the unchanged retry and the 401 text.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the two blockers from the Nov 19 open-source audit that can be fixed in code, plus the internal references in the tree.
Blocker 1: a stranger hits a dead end
python -m unittestagainst the local fake.DRUMS_URLset and nothing listening on the loopback default, the first request fails at once with what to set. It used to retry for 60 s. A server named in the environment is retried as before.server HTTP 401, notdrumsd HTTP 401.AuthErroradds the request-access link, and so do the preflight auth rows.Blocker 2: security policy
Internal references
Drums-Labs/drums#..links,D1andqwen27b-d2from README, CHANGELOG, code comments, tests and CI comments.plugin.jsonis now at 0.4.0.Tests
tests/test_onboarding.pycovers the fast failure, the unchanged retry and the 401 text.Not in this PR (settings and owner decisions at the flip)
pypienvironment.Reaching PyPI needs a 0.4.1 release; the GitHub page updates on merge.